package Tk01;

public class Test {
    public static void main(String[] args){

        Bank th1=new Bank();
        th1.setMoney(500);
        Thread t1=new Thread(th1,"存钱");
        Thread t2=new Thread(th1,"取钱");
        t1.start();
        t2.start();
    }
}